package cn.tedu.service.impl;

import cn.tedu.mapper.RightsMapper;
import cn.tedu.pojo.Rights;
import cn.tedu.service.RightsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RightsServiceImpl implements RightsService {
    @Autowired
    private RightsMapper rightsMapper;

    @Override
    public List<Rights> getRightsList() {
        return rightsMapper.getRightsList();
    }
}
